Pronamic\WordPress\Pay\Subscriptions\SubscriptionsDataStoreCPT B

Total Complexity 80
Dependencies 11
Dependents 1
Total lines 768
Lines of code 412
Logical lines of code 206
Comment lines 208
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
update_subscription_form_post_array()
A
47 12 34
read()
A
43 10 46
read_post_meta()
A
50 8 28
insert_subscription_post_data()
A
51 8 25
update_meta_status()
S
52 6 23
register_meta()
S
39 1 96
update_post_meta()
S
53 5 23
create()
S
52 4 24
get_subscription()
S
58 4 17
get_first_payment()
S
56 3 20
update()
S
58 3 15
save_post_meta()
S
64 4 10
get_meta_status_label()
S
63 3 11
get_post_status_from_meta_status()
S
67 3 9
save()
S
72 2 5
get_meta_status_from_post_status()
S
68 2 7
__construct()
S
59 1 15
setup()
S
73 1 4